package com.entity;

/**
 * @ClassName Phone
 * @Description TODO
 * @Author Kx
 * @Date 2025/4/15 11:15
 * @Version 1.0
 */
public class Phone {
    private String brand; // 手机品牌
    private String color; // 手机颜色


    public Phone() {
        System.out.println("创建手机对象");
    }
    public Phone(String brand, String color) {
        this.brand = brand;
        this.color = color;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
